<!DOCTYPE html>
<%@page pageEncoding="UTF-8" contentType="text/html;charset=UTF-8"%>
<%@ taglib prefix="EF" uri="/WEB-INF/framework/tlds/EF-2.0.tld" %>
<%String actionUrl = request.getContextPath() + "/DispatchAction.do";
String uploadPath= com.baosight.iplat4j.core.resource.I18nMessages.getText("sczx.updownload.uploadfilekeepeddir"); 
%>
<html>
<EF:EFHead includeDefault="true">
<script type="text/javascript" src="./ZM/zm.js"></script>
</EF:EFHead>
<EF:EFBody> 
	<EF:EFForm id="ZMCD02" method="POST" action="<%=actionUrl%>">
		<EF:EFInput type="hidden" ename="fdDirId"/>
		<EF:EFInput type="hidden" ename="fdCreatorId"/>
		<EF:EFInput type="hidden" ename="fdCreateDepartmentId"/>
		<div id="ef_region_inqu" title="查询条件" style="overflow: scroll;">
			<EF:EFInput blockId="inqu_status" type="hidden" ename="fdForeignId" row="0" /> 
			<EF:EFInput blockId="inqu_status" row="0"  type="hidden" ename="fdDirId" cname="目录主键" etc=" "/>
			<EF:EFInput blockId="inqu_status" row="0" type="hidden" ename="Limit" cname="权限" etc=" "/>
			<div class="row-fluid"> 
				<div class="span4">
					<EF:EFInput blockId="inqu_status" row="0" type="text" ename="fdTitle" cname="标题" />
				</div>
				<div class="span4">
					<EF:EFSelect blockId="inqu_status" row="0" ename="fdCreatorId" cname="编制人"  etc=" style='width:140.8px;'">
						<EF:EFOptions blockId="cmes.cs.partpeople" labelColumn="Name" valueColumn="Code"></EF:EFOptions>
					</EF:EFSelect>
				</div>
				<div class="span4">
					<EF:EFSelect blockId="inqu_status" row="0" ename="fdDepartmentId" cname="编制单位"  etc=" style='width:140.8px;'">
						<EF:EFOption label="" value=""></EF:EFOption>
						<EF:EFOptions blockId="cmes.cp.department" labelColumn="orgName" valueColumn="orgCode"></EF:EFOptions>
					</EF:EFSelect>
				</div>
			</div>
		</div>
		<div id="ef_region_result" title="文档列表">
			<div id="ef_grid_r"></div>
		</div>
<!-- 		<div id="ef_region_detail" title="文件列表">
			<div id="ef_grid_d"></div>
		</div>  --> 
<%-- 		<div id='ef_region_fileupload' style="overflow:scroll"> 
			<div style="overflow:hidden;width:100%">  
				<EF:EFInput blockId="upload_status" type="hidden" ename="fdKeyId" row="0" />
				<EF:EFInput blockId="upload_status" type="hidden" ename="fdFileName" row="0" />
				<EF:EFInput blockId="upload_status" type="hidden" ename="fdMemoryName" row="0" />
				<EF:EFInput blockId="upload_status" type="hidden" ename="fdFileSize" row="0" />
				<EF:EFInput blockId="upload_status" type="hidden" ename="fdForeignId" row="0" /> 
				<table style="width:100%;"> 
				  <tr>
				    <td align="right" nowrap width="10%"><font color="red">*</font>上传附件：</td>
				    <td><EF:EFInput type="file" blockId="inqu_status" ename="documentName_1" row="0"  etc='style="width:203PX" onChange="FileUpload_onselect()"'/>
				    </td>  
				  </tr>  
				</table>  
			</div>   
		</div> --%>
		<EF:EFRegion />   
		<EF:EFGrid blockId="result" paintId="ef_grid_r" serviceName="ZMCD02" queryMethod="query"  readonly="false" autoDraw="no" ajax="true">
			<EF:EFColumn ename="fdKeyId" cname="主键" visible="false"></EF:EFColumn>
			<EF:EFColumn ename="fdLifecycleId" cname="工程进度"  visible="false"></EF:EFColumn>
			<EF:EFColumn ename="fdEngineeringId" cname="对应工程"   visible="false"></EF:EFColumn>
			<EF:EFColumn ename="fdRemarks" cname="文档用途"   visible="false" validateRegex="/^.{0,100}$/" validateErrorPrompt="输入0-100个字符" ></EF:EFColumn>
			<EF:EFComboColumn ename="fdStatus" cname="状态" blockName="cmes.cp.status" labelProperty="display" valueProperty="value" enable="false"></EF:EFComboColumn>
			<EF:EFColumn ename="fdDocId" cname="docId" visible="false"></EF:EFColumn>
			<EF:EFColumn ename="fdTitle" cname="*标题" validateRegex="/^\S{1,50}$/" validateErrorPrompt="输入1-50个字符，不能输入空格" nullable="false" ></EF:EFColumn>
			<EF:EFComboColumn ename="fdTypeId" cname="文档类型" blockName="cmes.cd.doctype" labelProperty="display" valueProperty="value" ></EF:EFComboColumn>
			<EF:EFComboColumn ename="fdBusinessId" cname="业务类型" blockName="cmes.cd.businesstype" labelProperty="display" valueProperty="value" ></EF:EFComboColumn>
			<EF:EFColumn ename="fdCreateDate" cname="编制日期" dateFormat="yyyy-MM-dd" editType="date" ></EF:EFColumn>
			<EF:EFComboColumn ename="fdCreatorId" cname="编制人" blockName="cmes.cs.partpeople" labelProperty="Name" valueProperty="Code"></EF:EFComboColumn>
			<EF:EFComboColumn ename="fdDepartmentId" cname="编制单位" blockName="cmes.cp.department" labelProperty="orgName" valueProperty="orgCode" enable="false"></EF:EFComboColumn>
			<EF:EFColumn ename="fdDirId" cname="对应目录"  visible="false"></EF:EFColumn>
		</EF:EFGrid>
<%-- 		<EF:EFGrid blockId="result" paintId="ef_grid_d" serviceName="ZMCD06" queryMethod="query"  readonly="false" autoDraw="no" ajax="true">		
			<EF:EFColumn ename="fdKeyId" cname="主键" visible="false" ></EF:EFColumn>
			<EF:EFColumn ename="fdForeignId" cname="外键" visible="false" ></EF:EFColumn>
			<EF:EFColumn ename="fdMemoryName" cname="修改后文件名称" visible="true" ></EF:EFColumn>
			<EF:EFColumn ename="fdFileName" cname="文件名称" width="260"></EF:EFColumn>
			<EF:EFColumn ename="fdFileSize" cname="文件大小" ></EF:EFColumn>
		</EF:EFGrid> --%>
	</EF:EFForm>  
</EF:EFBody> 
</html>